﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ST.Buz.Base.Entity
{
	/// <summary>
	/// 微信相关日志
	/// </summary>
	[Table("WX_Log")]
	public partial class WX_Log
	{
		[Key]
		[Column("ID")]
		public int ID { get; set; }

		/// <summary>
		/// 日志类别
		/// </summary>
		[Column("Type")]
		public int Type { get; set; }

		/// <summary>
		/// 日志记录时间
		/// </summary>
		[Column("LogDate")]
		public DateTime LogDate { get; set; }

		/// <summary>
		/// 模板ID
		/// </summary>
		[Column("TplID")]
		[StringLength(32, ErrorMessage = "{0}长度不能超过{1}")]
		public string TplID { get; set; }

		/// <summary>
		/// 相关Url
		/// </summary>
		[Column("Url")]
		[StringLength(100, ErrorMessage = "{0}长度不能超过{1}")]
		public string Url { get; set; }

		/// <summary>
		/// 日志内容
		/// </summary>
		[Column("LogContent")]
		public string LogContent { get; set; }

		/// <summary>
		/// 操作人员ID
		/// </summary>
		[Column("LogManID")]
		public int LogManID { get; set; }

		/// <summary>
		/// 操作人员
		/// </summary>
		[Column("LogManName")]
		[StringLength(20, ErrorMessage = "{0}长度不能超过{1}")]
		public string LogManName { get; set; }
	}
}
